package com.rainsoft.threadLocal;

/**
 * @author 13646223842@163.com
 * @since 1.0.0
 * 2015/11/12.
 */
public class ClientThread extends Thread{

    private Sequence sequence;

    public ClientThread(Sequence sequence) {
        this.sequence = sequence;
    }

    @Override
    public void run() {
        for (int i = 0; i < 3 ; i++) {
            System.out.println(Thread.currentThread().getName()+"=>"+sequence.getNumber());
        }
//        super.run();
    }
}
